package test.eight;
import static util.Util.*;

class Meal{
	Meal(){
		print("Meal()");
	}
}
class Bread{
	Bread(){
		print("Bread()");
	}
}
class Cheese{
	private Bread b=new Bread();
	Cheese(){
		print("Cheese()");
	}
}
class Lettuce{
	Lettuce(){
		print("Lettuce()");
	}
}
class Lunch extends Meal{
	Lunch(){
		print("Lunch()");
	}
}
class portableLunch extends Lunch{
	portableLunch(){
		print("portableLunch()");
	}
}

public class Sandwich extends portableLunch{
	private Cheese c=new Cheese();
	private Bread b=new Bread();
	private Lettuce l=new Lettuce();
	
	public Sandwich(){print("Sandwich()");}
	
	public static void main(String[] args) {
		new Sandwich();
	}
}
